<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="edu.njust.LabSystem.entity.*,edu.njust.LabSystem.Service.*" %>

<script type="text/javascript">

</script>

<%
	String uid = (String) session.getAttribute("uid");
	IStudentService service = new IStudentService();
	Student student = service.getStudentById(uid);
%>

<div class="nav nav-tabs success" style="background-color: #c9c6fa;height:60px;">
	<div class="" style="float: left;margin-left: 30px">
		<img class="user-photo" style="" src="img/face.jpg"/>
	</div>
	<div class="nav-item" style="float:left;margin-left:5px;">
		<a style=""><%=student.getName() %>
		</a>
	</div>
	<div class="nav-item">
		<a href="#">学生主页</a>
	</div>
	<div class="nav-item" style="margin-right:5px;">
		<img class="icon" style="width: 20px;height: 20px;" src="img/home.png"/>
	</div>

	<div class="nav-item" style="">
		<a style="" href="StudentInfo.jsp?action=StudentInfoController&uid=${uid}">个人中心</a>
	</div>
	<div class="nav-item" style="margin-right:5px;">
		<img class="icon" style="clear:both;width: 20px;height: 20px;" src="img/person_white.png"/>
	</div>
</div>